package com.nancy.service;

import com.alibaba.dubbo.config.annotation.Reference;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class OrderConsumer {

    @Reference
    private UserService userService;

    public String sayHello(String name) {
        return userService.sayHello(name);
    }
}
